package com.kaili.basic.service;


import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.common.pojo.entity.BaseDepartment;
import com.kaili.common.pojo.entity.BaseDepartmentUpdateVO;

import java.util.List;

public interface BaseDepartmentService {

    int addDep(BaseDepartment baseDepartment);

    int deleteDep(Long did);

    List<BaseDepartment> getDepByPid(Long pid);

    List<BaseDepartment> getAllDeps();

    Page<BaseDepartment> getPageDeps(Page<BaseDepartment> page,BaseDepartment baseDepartment);

    int modifyDep(BaseDepartmentUpdateVO baseDepartment);

}
